   <ul class="topicList after_div topicList_<{$group_id}>">
            <volist name="list" id="vo">
         
          <a  <if condition="$vo['link']">href="<{$vo['link']}>" <else/>href="<{:U('topic',array('id'=>$vo['id']))}>"</if> target="_blank">

            <li class="gclear media-topic-<{$vo.id}>">
                <div class="title-like " href="javascript:void 0;" data-post_id="<{$vo.id}>" data-login="yes">
                    <span class="glyphicon glyphicon-thumbs-up"></span>
                    <span class="like-num"></br><{$vo.hit_count}></span>
                </div>
                <div class="title-content">
                    <p  class="title-link"><{$vo.title}></p>
                  <!-- 图片 -->
                    <if condition="$vo['imgCount']">
                    <div class="title-imgs">
                       <volist name="vo['imgList']" id="vo1">
                         <img src="<{$vo1}>">
                        </volist>
                    </div>
                    </if>
                    <!-- 图片 -->

                    <div class="title-info">
                        <span class="glyphicon glyphicon-user"></span>
                        <{$vo['user']['nickname']}> <if condition="$group_id==0">发表于 <{$vo['pidData']['group_name']}></if>
                        <span class="glyphicon glyphicon-time mgl20"></span>
                        <span class="comment-link" >最后回复 <{:time_tran($vo['lastupdate'])}></span>
                      <!-- 删除权限 -->
                        <php>$del_act=Logic("BoxSns","Topic")->act_del($vo)</php>
                        <if condition="$del_act eq ture">
                        <a data-id="<{$vo['id']}>" style="position: absolute;right: 30px;" class="s_right del_btn" href="/BoxSns/Home/<{:U('Index/del_topic',array('id'=>$vo['id']))}>" confirm="1" title="确认删除帖子吗？"  data-type="ajaxGet"><span class="glyphicon glyphicon-trash"></span> 删除</a>
                        </if>
                         <!-- 删除权限 -->
                    </div>
                </div>
                <div class="title-comment" ><span class="glyphicon glyphicon-comment"></span></br>  <{$vo.comment_count}></div>

            </li>
</a>
            </volist>
        </ul>
      <include file="Public:pager" />   
<script type="text/javascript">
$(".del_btn").on("ajaxGetSuccess", function(e, content) {
    var data = JSON.parse(content);
    if (data.error > 0) {
        dialog(data.msg);
    } else {
        dialog("删除成功");
        var id = $(this).attr("data-id");
        $(".media-topic-" + id).hide();
        $(".media-topic-" + id).remove();
    }
})
      </script>